package com.example.demo.utils;

import java.util.UUID;

public class UUIDUtil {

    //生成一个36位的uuid
    public static String UUID_36 () {
        return UUID.randomUUID().toString();
    }

    //生成一个32位的uuid
    public static String UUID_32 () {
        return UUID.randomUUID().toString().replace("-", "");
    }

}
